﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Fan.Dongping.Ali.DataAccess;

namespace dotnethelloworld.Note
{
    public partial class NewNote : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void ButtonSubmit_Click(object sender, EventArgs e)
        {
            NoteDA.Instance.AddNote(this.User.Identity.Name, TextBoxTitle.Text, TextBoxBody.Text);
        }
    }
}
